<?exit?>
<!--{template header}-->
<!--{eval $ads2 = getad('system', 'bbs', '2'); }-->
<h2><a href="{S_URL}/"><img src="{S_URL}/templates/$_SCONFIG[template]/images/logo.gif" alt="$_SCONFIG[sitename]" /></a></h2>
				<form class="ad_header" id="searchform" action="{S_URL}/batch.search.php" method="post">
				<label>搜索：</label>
				<input type="text" id="searchkey" name="searchkey" size="23" class="input_tx"/>
				<input type="hidden" value="news" name="type">
				<input type="submit" value="搜索" id="submit" class="input_search" name="searchbtn"/>
				<input type="hidden" name="subjectsearch" value="true" />
				</form>
</div>
</div>
<div id="pagebody">
<div id="pagebody_extbg" class="bbs2_forum">
	<div id="nav">
		<ul class="main_nav">
			<!--{if empty($_SCONFIG['defaultchannel'])}-->
			<li><a href="{S_URL}/index.php"><span>首页</span></a></li>
			<!--{/if}-->
			<!--{loop $channels['menus'] $key $value}-->
			<li <!--{if $key == 'bbs' }--> class="current"<!--{/if}-->><a href="$value[url]"><span>$value[name]</span></a></li>
			<!--{/loop}-->
		</ul>
		<div class="ext_nav_bg">
			<div class="ext_nav">
				<!--{eval $dot = '|'}-->
				<!--{eval $total = count($forumarr)}-->
				<!--{eval $i = 1;}-->
				<!--{loop $forumarr $value}-->
					<li><a href="$value[url]">$value[name]</a><!--{if $total != $i}-->&nbsp;$dot&nbsp;<!--{/if}--></li>
					<!--{eval $i++;}-->
				<!--{/loop}-->
			</div>
		</div>
	</div>
	
	<div class="column">
<!--{if !empty($ads2['pageheadad']) }-->
<div class="ad_header">$ads2[pageheadad]</div>
<!--{/if}-->
		<!--{if !empty($ads2['pagecenterad'])}-->
		<div class="ad_pagebody">$ads2[pagecenterad]</div>
		<!--{/if}-->
		<div class="box_l col_710">
			<div class="global_model">
			<h3>您的位置：<a href="{S_URL}/">$_SCONFIG[sitename]</a>
			<!--{loop $guidearr $value}-->
			&gt;&gt; <a href="$value[url]">$value[name]</a>
			<!--{/loop}--></h3>
			<!--根分类最新帖子列表-->
			<!--{if $forum['type'] != 'group'}-->
			<!--{block name="bbsthread" parameter="perpage/20/fid/$fid/showdetail/1/messagelen/160/messagedot/1/order/dateline DESC/cachetime/44400/cachename/newlist/tpl/data"}-->
			<!--{if $_SBLOCK['newlist']}-->
			<!--{loop $_SBLOCK['newlist'] $value}-->
			<div class="bbs_tx_list">
				<h5><a href="$value[url]" target="_blank">$value[subject]</a></h5>
				<p class="bbs_tx_list_caption"><a href="#uid/$value[authorid]#" target="_blank">$value[author]</a> 发表于:#date("Y-m-d", $value["dateline"])# 回复:$value[replies]</p>
				<p>$value[message]</p>			
			</div>
			<!--{/loop}-->
			
			<!--{if $_SBLOCK[newlist_multipage]}-->
				$_SBLOCK[newlist_multipage]
			<!--{else}-->
			<div class="pages">
			当前只有一页
			</div>
			<!--{/if}-->
			<!--{/if}-->
			<!--{/if}-->
			</div>
			
			<!--{block name="bbsforum" parameter="fup/$fid/allowblog/1/order/displayorder/limit/0,100/cachetime/28800/cachename/subarr/tpl/data"}-->
			<!--{if $_SGET['page']<2 && !empty($_SBLOCK['subarr'])}-->
			<!--{eval $i = 1;}-->
			<div id="catalog2_box">
				<!--{loop $_SBLOCK['subarr'] $key $value}-->
				<!--{eval $cachetime=1800+$key*5;}-->
				<!--{block name="bbsthread" parameter="fid/$value[fid]/order/dateline DESC/limit/0,8/cachetime/$cachetime/cachename/subthreadlist/tpl/data"}-->
				<!--{if $_SBLOCK['subthreadlist']}-->
				<div class="news_glo_module" <!--{if ($i % 2) == 0}-->style="float:right;"<!--{/if}-->>
					<div class="global_caption"><h3>$value[name]</h3><a href="#action/forumdisplay/fid/$value[fid]#">更多&gt;&gt;</a></div>
					<div class="news_top_cotent">
						<ul>
						<!--{loop $_SBLOCK['subthreadlist'] $value}-->
						<li><span class="box_r">#date("m.d", $value["dateline"])#</span><a href="$value[url]" target="_blank">$value[subject]</a></li>
						<!--{/loop}-->
						</ul>
					</div>
				</div>
				<!--{eval $i++;}-->
				<!--{/loop}-->
				<!--{/if}-->
			</div>
			<!--{/if}-->
		</div>
		<div class="box_r col_230">
			<div class="search_bar">
				<h3>站内搜索</h3>
					<ul id="tab_search">
						<li class="current"><em onclick="secBoard('tab_search','searchlist',1)">作者</em></li>
						<li class="normal"><em onclick="secBoard('tab_search','searchlist',2)">标题</em></li>
						<li class="normal"><em onclick="secBoard('tab_search','searchlist',3)">内容</em></li>
					</ul>
					<div class="search_list">
					<div id="searchlist_1" class="current">
						<form action="{S_URL}/batch.search.php" method="post">
						<input id="search1" onclick="javascript:searchtxt('search1')" type="text" class="input_tx" size="22" name="searchkey" value="作者" /> 
						<input type="submit" class="input_search" name="authorsearchbtn" value="搜索" /><br />
						<input type="hidden" value="news" name="type">
						<input type="hidden" name="authorsearch" value="true" />
						</form>
					</div>
					<div id="searchlist_2" class="normal">
						<form action="{S_URL}/batch.search.php" method="post">
						<input id="search2" onclick="javascript:searchtxt('search2')" type="text" class="input_tx" size="22" name="searchkey" value="标题" />
						<input type="submit" class="input_search" name="searchbtn" value="搜索" /><br />
						<input type="hidden" value="news" name="type">
						<input type="hidden" name="subjectsearch" value="true" />
						</form>

					</div>
					<div id="searchlist_3" class="normal">
						<form action="{S_URL}/batch.search.php" method="post">
						<input id="search3" onclick="javascript:searchtxt('search3')" type="text" class="input_tx" size="22" name="searchkey" value="内容" /> 
						<input type="submit" class="input_search" name="messagesearchbtn" value="搜索" /><br />
						<input type="hidden" value="news" name="type">
						<input type="hidden" name="messagesearch" value="true" />
						</form>
					</div>
				</div>
			</div>

			<!--{if $_SBLOCK['subarr']}-->
			<div class="nl_2catalog">
				<h3>子版块</h3>
				<div class="nl_2catalog_content">
					<ul>
						<!--{loop $_SBLOCK['subarr'] $value}-->
						<li><a href="$value[url]">$value[name]</a></li>
						<!--{/loop}-->
					</ul>
				</div>
			</div>
			<!--{/if}-->
			<!--板块根据帖子数排行-->
			<!--{block name="bbsforum" parameter="type/forum/allowblog/1/order/posts DESC/limit/0,10/cachetime/85487/cachename/hotforums/tpl/data"}-->
			<div class="newsside_glo_module global_top10">
				<h3>帖子排行</h3>
				<div class="newsside_glo_content supebbs_top10">
					<ul>
						<!--{loop $_SBLOCK['hotforums'] $value}-->
						<li><span class="num">$value[posts]</span><a href="$value[url]">$value[name]</a></li>
						<!--{/loop}-->
					</ul>
				</div>
			</div>
			
			<!--最新更新帖子-->
			<!--{block name="bbsthread" parameter="order/lastpost DESC/limit/0,10/subjectlen/30/subjectdot/1/cachetime/11460/cachename/newpost/tpl/data"}-->
			<div class="newsside_glo_module global_top10">
				<h3>最新评论</h3>
				<div class="newsside_glo_content supebbs_top10">
					<ul>
						<!--{loop $_SBLOCK['newpost'] $value}-->
						<li><a href="$value[url]" target="_blank">$value[subject]</a></li>
						<!--{/loop}-->
					</ul>
				</div>
			</div>	

		</div><!--col_235主体右侧 end-->
		<div class="clear"></div>
		<!--{if !empty($ads2['pagefootad'])}-->
		<div class="ad_footer">$ads2['pagefootad']</div>
		<!--{/if}-->
	</div><!--column end-->

</div>
</div><!--pagebody end-->

<!--{if !empty($ads2['pagemovead']) || !empty($ads2['pageoutad'])}-->
<!--{if !empty($ads2['pagemovead'])}-->
<div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div style="position: absolute; left: 6px; top: 6px;">
		$ads2[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
	<div style="position: absolute; right: 6px; top: 6px;">
		$ads2[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
</div>
<!--{/if}-->
<!--{if !empty($ads2['pageoutad'])}-->
<div id="floatAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
		$ads2[pageoutad]
	</div>
</div>
<!--{/if}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($ads2['pageoutad'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
<!--{/if}-->
<!--{if !empty($ads2['pagemovead'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
<!--{/if}-->
</script>
<!--{/if}-->

<!--{template footer}-->
